3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides routines that you can use to create and manipulate disks. See "Disks" for the definition of a disk.
You can use the Q3Disk_New function to create a new disk.
TQ3GeometryObject Q3Disk_New (const TQ3DiskData *diskData);
You can use the Q3Disk_Submit function to submit an immediate disk for drawing, picking, bounding, or writing.
TQ3Status Q3Disk_Submit (
const TQ3DiskData *diskData,
TQ3ViewObject view);
You can use the Q3Disk_GetData function to get the data that defines a disk and its attributes.
TQ3Status Q3Disk_GetData (
TQ3GeometryObject disk,
TQ3DiskData *diskData);
You can use the Q3Disk_SetData function to set the data that defines a disk and its attributes.
TQ3Status Q3Disk_SetData (
TQ3GeometryObject disk,
const TQ3DiskData *diskData);
You can use the Q3Disk_EmptyData function to release the memory occupied by the data structure returned by a previous call to Q3Disk_GetData .
TQ3Status Q3Disk_EmptyData (TQ3DiskData *diskData);
You can use the Q3Disk_GetOrigin function to get the origin of a disk.
TQ3Status Q3Disk_GetOrigin (
TQ3GeometryObject disk,
TQ3Point3D *origin);
You can use the Q3Disk_SetOrigin function to set the origin of a disk.
TQ3Status Q3Disk_SetOrigin (
TQ3GeometryObject disk,
const TQ3Point3D *origin);
You can use the Q3Disk_GetMajorRadius function to get the major radius of a disk.
TQ3Status Q3Disk_GetMajorRadius (
TQ3GeometryObject disk,
TQ3Vector3D *majorRadius);
You can use the Q3Disk_SetMajorRadius function to set the major radius of a disk.
TQ3Status Q3Disk_SetMajorRadius (
TQ3GeometryObject disk,
const TQ3Vector3D *majorRadius);
You can use the Q3Disk_GetMinorRadius function to get the minor radius of a disk.
TQ3Status Q3Disk_GetMinorRadius (
TQ3GeometryObject disk,
TQ3Vector3D *minorRadius);
You can use the Q3Disk_SetMinorRadius function to set the minor radius of a disk.
TQ3Status Q3Disk_SetMinorRadius (
TQ3GeometryObject disk,
const TQ3Vector3D *minorRadius);
Previous | QD3D Book | Overview | Chapter Contents | Next |